package com.worthtech.billportal.service.imp;

import java.util.List;

import com.worthtech.billportal.bean.WlExpressInfo;
import com.worthtech.billportal.dao.ExpressDAO;
import com.worthtech.billportal.service.ExpressService;

public class ExpressServiceImp implements ExpressService{
	private ExpressDAO expressDAO;
	

	public ExpressDAO getExpressDAO() {
		return expressDAO;
	}

	public void setExpressDAO(ExpressDAO expressDAO) {
		this.expressDAO = expressDAO;
	}

	public List getListByHQL(String tableName, int startPage, int perNo,
			String orderby){
		return this.getExpressDAO().getListByHQL(tableName, startPage, perNo, orderby);
	}

	public String getCount(String tableName, String condition){
		return this.getExpressDAO().getCount(tableName, condition);
	}
	public void save(WlExpressInfo w){
		this.getExpressDAO().save(w);
	}
	public void update(WlExpressInfo w){
		this.getExpressDAO().update(w);
	}
	public String getSeqID(String tablename){
		return this.getExpressDAO().getSeqID(tablename);
	}
	public String getExpressID(){
		return this.getExpressDAO().getExpressID();
	}
}
